package com.sunsy.authserver.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunsy.authserver.beans.po.AppClient;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * (AppClient)表数据库访问层
 *
 * @author makejava
 * @since 2021-07-20 14:34:11
 */
@Mapper
public interface AppClientDao extends BaseMapper<AppClient> {

    @Select("select * from app_client where app_key=#{appKey}")
    AppClient getApp(@Param("appKey") String appKey);

}